package com.tukez.tmdb.query

case class Hash(hash: String, bytesize: Long) {
  if (hash.length != 16) throw new IllegalArgumentException("hash must be 16 characters long")
  if (bytesize < 65536) throw new IllegalArgumentException("bytesize must be greater or equal to 64KB")
}